package api;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

//https://wenku.baidu.com/view/669233f2350cba1aa8114431b90d6c85ed3a885a.html 填充
@ContentRowHeight(20) //内容高度
@HeadRowHeight(20) //头部高度
@Data
public class TestResultEasyExcel {

    //  @ExcelField(title = "业务组")
    @ExcelProperty("业务组")
    private String buniess="";
    // @ExcelField(title = "用例名称")
    @ExcelProperty("用例名称")
    private String caseName;

    // @ExcelField(title = "类型")
    @ExcelProperty("类型")
    private String type;
    @ExcelProperty("地址")
    //@ExcelField(title = "地址")
    private String url;

    @ExcelProperty("参数")
    private String params;
    //@ExcelField(title = "头部")
    @ExcelProperty("头部")
    private String headers;
    @ExcelProperty("返回结果从json提取")
    // @ExcelField(title = "返回结果从json提取")
    private String jsonCollect;
    @ExcelProperty("返回结果正则提取")
    // @ExcelField(title = "返回结果正则提取")
    private String regxCollect;

    //@ExcelField(title = "返回结果")
    @ExcelProperty("返回结果")
    private String httpResult;

    // @ExcelField(title = "返回结果",order = 1)
    @ExcelProperty(value = "返回结果",order = 1)
    private int code;


    @ExcelProperty("场景")
    private String scene;

    @ExcelProperty("检查点")
    private String checkpoint;


    @ExcelProperty("检查结果")
    private String checkpointResult;
}
